import 'package:get/get.dart';

class NotFoundController extends GetxController {
  //TODO: Implement NotFoundController

  final count = 0.obs;

  final RxString title = '页面出错'.obs;

  void setPageTitle() {
    final arguments = Get.arguments;
    title.value = arguments['title'] ?? '页面出错';
  }

  @override
  void onInit() {
    super.onInit();
    setPageTitle();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }

  void increment() => count.value++;
}
